import '@/assets/css/index.scss';

import { createApp } from 'vue';
import App from './App.vue';
const app = createApp(App);

import pinia from '@/pinia';
app.use(pinia);

import router from '@/router';
app.use(router);

import 'virtual:svg-icons-register';

//安装自定义组件-全局
import { installComponents } from '@/components/index';
installComponents(app);

//安装自定义指令-全局
import installDirectives from '@/directives/index';
installDirectives(app);

app.mount('#app');
